package sto.orz.commons;

// TODO move this to another project
public class DataTypeUtils {
	/**
	 * Tests if obj is a primitive number or wrapper.<br>
	 */
	public static boolean isBasicDataType(Class clazz) {
		if (clazz == Byte.class || clazz == Short.class
				|| clazz == Integer.class || clazz == Long.class
				|| clazz == Float.class || clazz == Double.class
				|| clazz == String.class) {
			return true;
		}
		return false;
	}
}
